@import "../../styles/antdvars.less";

#newLang .react-autosuggest__container input {
  width: auto;
}

/* React autosuggest */
.react-autosuggest__container {
  position: relative;
}
.react-autosuggest__input {
  border: 0;
  width: 100%;
}
.react-autosuggest__input:focus {
  outline: 0;
}
.react-autosuggest__container--open .react-autosuggest__input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.react-autosuggest__suggestions-container {
  display: none;
}
.react-autosuggest__container--open .react-autosuggest__suggestions-container {
  display: block;
  position: absolute;
  border: 1px solid @muted-color;
  background-color: #fff;
  border-bottom-left-radius: @border-radius-base;
  border-bottom-right-radius: @border-radius-base;
  z-index: 2;
  margin-top: 0.2rem;
}
.react-autosuggest__suggestions-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.react-autosuggest__suggestion {
  cursor: pointer;
  padding: 0.4rem 0.5rem;
}
.react-autosuggest__suggestion--highlighted {
  background-color: @neutral-color;
}

#newLang .form-control {
  height: inherit;
}

#newLang .has-feedback .form-control, #newLang .form-control {
  width: 96%;
  padding-right: 0;
}

.languages {

  span.languageCode {
    font-size: 0.9rem;
    color: #aaa;
  }

  table#languages-table {
    margin: 0;
  }
  .table > tbody > tr > td {
    line-height: 1.8rem;
    vertical-align: middle;
  }
  select#sort-options {
    width: inherit;
  }

  select#sort-options {
    width: inherit;
  }
  .ant-input-search {
    margin-top: 0;
  }

}
